<script>
console.log(screen.height);//示例结果：900
console.log(screen.availHeight);//示例结果：870
console.log(screen.colorDepth);//示例结果：24
console.log(screen.pixelDepth);//示例结果：24
</script>